package arrays_Test;

public class XuanZePaiXu {
	public static void main(String[] args) {
		int[] score = {99,86,94,78,96,82,95};  
		
		for (int i = 0; i < score.length-1; i++) {
			for (int j = 1+i; j < score.length; j++) {
				if (score[i] < score[j]) {
					int temp = score[i];
					score[i] = score[j];
					score[j] = temp;
				}
			} 
		}
		for (int i : score) {
			System.out.print(i + " ");
		}
		
		
		
		
		
		
	}

}
